let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n83,
                    i =
                    (this && this.__extends) ||
                    ((_n83 = function n(t, e) {
                            return (_n83 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n83(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.DropCfg = void 0);
                var r = t('AbsConfig'),
                    a = t('MathUtils'),
                    s = t('ItemInfo'),
                    c = t('DropData'),
                    l = (function(t) {
                        function e() {
                            var e = t.call(this, c.DropData) || this;
                            e._groupMap = new Map();
                            for (var o = e.list, n = 0; n < o.length; n++) {
                                var i,
                                    r = o[n];
                                (i = e._groupMap.has(r.groupId) ?
                                    e._groupMap.get(r.groupId) :
                                    []).push(r),
                                    e._groupMap.set(r.groupId, i);
                            }
                            return e;
                        }
                        return (
                            i(e, t),
                            Object.defineProperty(e, 'ins', {
                                get: function get() {
                                    return null == this._ins && (this._ins = new e()), this._ins;
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            (e.prototype.getRandomDropItem = function(t, e) {
                                if (!this._groupMap.has(t)) return null;
                                for (
                                    var o = this._groupMap.get(t), n = [], i = [], r = 0; r < o.length; r++
                                ) {
                                    var c = o[r];
                                    e >= c.minLevel &&
                                        e <= c.maxLevel &&
                                        (n.push(c), i.push(c.rand));
                                }
                                var l = o[a.default.weightsRandom(i)];
                                if (l.itemId > 0) {
                                    var u = a.default.randomInt(l.minNum, l.maxNum);
                                    return new s.ItemInfo(l.itemId, u);
                                }
                                return null;
                            }),
                            e
                        );
                    })(r.default);
                (o.DropCfg = l), console.log("end");
            module.exports =  e.exports;